class ChangeEmailFromStringToText < ActiveRecord::Migration
  def self.up
    change_column :groups, :email, :text
    rename_column :groups, :email, :emails
  end

  def self.down
    rename_column :groups, :emails, :email
    change_column :groups, :email, :string
  end
end
